package com.qd.upload.constant;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author: sjk
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties({"tempFile"})
public class FileConfirmDTO {
    private String tempFile;
    private String fileId;
    private String fileName;
    private long fileSize;
    private String officialFile;
    private String downloadPath;

    public void freeData() {
        this.tempFile = null;
        this.fileId = null;
        this.fileName = null;
        this.officialFile = null;
        this.downloadPath = null;
    }
}
